//
//  MainViewController.h
//  habit
//
//  Created by huck on 15-9-2.
//  Copyright (c) 2015年 custom. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AppUtils.h"

@interface MainViewController : UITabBarController<UITabBarDelegate,UITabBarControllerDelegate>


//设置tab角标数字
- (void)setBadgeValue:(TabBarItemType)tabBarItemType badgeValue:(NSInteger)badgeValue;

//获得tab角标数字
- (NSString *)getBadgeValue:(TabBarItemType)tabbarItemType;

//获得所有tab角标数字综合
- (NSUInteger)getBadgeValueTotal;

-(TabBarItemType)getCurrentTabBarItemType;

//程序跳转到指定页面
-(void)userSelectTab:(NSUInteger)tabIndex;
@end
